目錄

查詢語法說明

慣例文件

查詢運算式以斜體表示。
範例: %rating% GREATER 3

查詢範列可能包含在加框角括弧中的預留位置。在查詢中取代為有實際意義的名稱。如果在範列中有多個同一類型預留位置,在預留位置後將會附加數字到該名稱。
範例: <field> GREATER <number>

在文字文件其餘部分中使用以下通用類型的預留位置:

簡單查詢

簡單查詢模式不使用任何關鍵字。

When using the simple search, any latin characters are matched regardless of their accents, e.g. “foo” will match “foo” as well as “föö” or “fóo”.

進階搜尋

The advanced search allows the construction of more complex queries. It offers several keywords to perform specific types of comparisons and to combine multiple query expressions.

文字運算式

數值運算式

Perform integral number comparison between the value of a <field> and a <number>, e.g. ”%rating% GREATER 3”.

元資料運算式

時間運算式

Time values used in these expressions must be in one of the following formats: YYYY, YYYY-MM, YYYY-MM-DD, YYYY-MM-DD hh, YYYY-MM-DD hh:mm, YYYY-MM-DD hh:mm:ss.

組成查詢

查詢結果

You can put a SORT BY operator at the end of your search expression to produce search results sorted by the specified title formatting pattern.

附註

作業摘要資訊

作業 語法 註解
AFTER <time1> AFTER <time2>
AND <expression1> AND <expression2>
BEFORE <time1> BEFORE <time2>
DURING <time1> DURING <time2>
DURING LAST <time> DURING LAST <number> SECONDS/MINUTES/HOURS/DAYS/WEEKS
<time> DURING LAST SECOND/MINUTE/HOUR/DAY/WEEK
EQUAL <field> EQUAL <number>
GREATER <field> GREATER <number>
HAS <field> HAS <string>
* HAS <string>
IS <field> IS <string>
LESS <field> LESS <number>
MISSING <field> MISSING
NOT NOT <expression>
OR <expression1> OR <expression2>
PRESENT <field> PRESENT
SINCE <time1> SINCE <time2>
SORT BY SORT BY <sort-pattern>
SORT DESCENDING BY <sort-pattern>
必須在查詢的結尾。